import { createApp } from "vue";
import "element-plus/dist/index.css";
import App from "./App.vue";
import router from "./router";
import { createPinia } from "pinia";
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
import "normalize.css";
import "@/utils/getData.ts"
import { registerGlobComp } from '@/utils/registerGlobComp';
const app = createApp(App);
console.log('2342');

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}
registerGlobComp(app)
app.use(createPinia());

app.use(router);
app.mount("#app");
